package com.gxgy.service;

import java.util.List;

import org.springframework.ui.Model;

import com.gxgy.entity.Student;

public interface StudentService {
	
	List<Student> queryAllStudent();
	
	Student queryByNumber(String studentNumber);
	
	Student queryById(String id);
	
	Integer addStudent(String studentNumber,String studentName,String studentSex
			,Integer studentAge,String studentYear,String studentClass,String createTime,Model model);
	
	Integer updateStudent(String id,String studentNumber,String studentName,String studentSex
			,Integer studentAge,String studentYear,String studentClass,String createTime,Model model);

}
